|
|
Joined: Jul 2003
Posts: 46
Junior Member
|
Junior Member
Joined: Jul 2003
Posts: 46 |
I'm running UBB.Classic v6.4.0. When I'm logged onto the forum and click "Recent Visitors/Admin View," I get the following below error: quote:
An error has occurred: (RequireCode) NonCGIPath/Templates/public_pntf_admin.pl: syntax error at NonCGIPath/Templates/public_pntf_admin.pl line 338, near "} elsif" syntax error at NonCGIPath/Templates/public_pntf_admin.pl line 340, near "}" Below is Lines 330 to 350. Can anyone find anything wrong in the below script? quote: [qb] $location .= qq($d[3] $vars_wordlets_pntf{pntf_topic_in_forum} ) . (&GetForumRecord($f))[1] . qq(); } # end if } elsif($gah =~ m/^(d{4})(d{4}).(d{4})$/) { my $f = $1 + 0; $location = qq($vars_wordlets_pntf{pntf_forum}: ); if($dontlink) { $location .= (&GetForumRecord($f))[1]; } else { Line 338>>>>> } elsif ($gah eq "1111") { $location = qq($vars_wordlets_mods{extpntf_pntf}); Line 340>>>> } elsif($gah =~ m/^1(d{4})(d{6})$/) { my $f = $1 + 0; my $t = $2; if ($user_profile[0]) { my $is_one = $username ? &is_admin_or_mod($f, @user_profile) : ""; if( (&GetForumRecord($f))[6] =~ m/private/ && $is_one ne 'true' ) { next; } # end if } my @d = &GetThreadData($f, $t); $location = qq($vars_wordlets_mods{extpntf_editing}: $d[3] $vars_wordlets_pntf{pntf_topic_in_forum} ) . (&GetForumRecord($f))[1] . qq()[/qb]
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
You might try deleting the affected files and re-up some clean ones...
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|